package com.elegantsoft.pakistannews.rssfeed;
public abstract class FeedParserFactory {
	static String feedUrl = "http://tribune.com.pk/pakistan/feed/";
	
	public static FeedParser getParser(){
		return getParser(ParserType.ANDROID_SAX, null);
	}
	
	public static FeedParser getParser(ParserType type,String url){
		switch (type){
			case XML_PULL:
				return new XmlPullFeedParser(url);
			default: return null;
		}
	}
}
